#!/usr/bin/env python
#coding=utf-8
'''
Created on Aug 9, 2010
@author: lxd
'''

"""
This is a way to save the startup time when running img2py on lots of
files...
"""

from wx.tools import img2py


command_lines = [
    "-a -F -n s1 img/s1.gif images.py",
    "-a -F -n s2 img/s2.gif images.py",
    "-a -F -n s3 img/s3.gif images.py",
    "-a -F -n s4 img/s4.gif images.py",
    "-a -F -n s5 img/s5.gif images.py",
    "-a -F -n s6 img/s6.gif images.py",
    "-a -F -n s7 img/s7.gif images.py",
    "-a -F -n s8 img/s8.gif images.py",
    "-a -F -n s9 img/s9.gif images.py",
    "-a -F -n s10 img/s10.gif images.py",
    "-a -F -n s11 img/s11.gif images.py",
    ]


if __name__ == "__main__":
    for line in command_lines:
        args = line.split()
        img2py.main(args)
